package com.thor.palmmall.spi.workorder;

import java.io.Serializable;
import java.util.Date;

import com.thor.palmmall.spi.common.SOperateInfo;
import com.thor.palmmall.spi.common.SWorkOrder;

/**
 * @author kennen
 *
 */
public class SBusinessOrder implements Serializable {
  
  private static final long serialVersionUID = 9106470991223313922L;
  
  private String uuid;
  /** 版本号 */
  private long version;
  /** 最新版本时间 */
  private Date versionTime;
  /** 创建时间 */
  private SOperateInfo createInfo;
  /** 最后修改时间 */
  private SOperateInfo lastModifyInfo;
  /** 用户组ID */
  private String permGroupId;
  /** 用户组Title */
  private String permGroupTitle;
  /** 单号 */
  private String billNumber;
  /** 业务状态 */
  private String bizState;
  private String bpmState;
  private String bpmMessage;
  private String bpmInstance;
  /** 业务单流程状态 */
  private String bpmOutgoingState;
  /** 作废原因 */
  private String abortMsg;
  /** 工单信息 */
  private SWorkOrder workOrder;
  /** 业务单类型 */
  private SBusinessOrderType type;
  /** 当前处理人:即流程的当前处理人或者候选人。 */
  private String handler;
  /** 说明 */
  private String remark;
  
  public String getUuid() {
    return uuid;
  }
  public void setUuid(String uuid) {
    this.uuid = uuid;
  }
  public long getVersion() {
    return version;
  }
  public void setVersion(long version) {
    this.version = version;
  }
  public Date getVersionTime() {
    return versionTime;
  }
  public void setVersionTime(Date versionTime) {
    this.versionTime = versionTime;
  }
  public SOperateInfo getCreateInfo() {
    return createInfo;
  }
  public void setCreateInfo(SOperateInfo createInfo) {
    this.createInfo = createInfo;
  }
  public SOperateInfo getLastModifyInfo() {
    return lastModifyInfo;
  }
  public void setLastModifyInfo(SOperateInfo lastModifyInfo) {
    this.lastModifyInfo = lastModifyInfo;
  }
  public String getPermGroupId() {
    return permGroupId;
  }
  public void setPermGroupId(String permGroupId) {
    this.permGroupId = permGroupId;
  }
  public String getPermGroupTitle() {
    return permGroupTitle;
  }
  public void setPermGroupTitle(String permGroupTitle) {
    this.permGroupTitle = permGroupTitle;
  }
  public String getBillNumber() {
    return billNumber;
  }
  public void setBillNumber(String billNumber) {
    this.billNumber = billNumber;
  }
  public String getBizState() {
    return bizState;
  }
  public void setBizState(String bizState) {
    this.bizState = bizState;
  }
  public String getBpmState() {
    return bpmState;
  }
  public void setBpmState(String bpmState) {
    this.bpmState = bpmState;
  }
  public String getBpmMessage() {
    return bpmMessage;
  }
  public void setBpmMessage(String bpmMessage) {
    this.bpmMessage = bpmMessage;
  }
  public String getBpmInstance() {
    return bpmInstance;
  }
  public void setBpmInstance(String bpmInstance) {
    this.bpmInstance = bpmInstance;
  }
  public String getBpmOutgoingState() {
    return bpmOutgoingState;
  }
  public void setBpmOutgoingState(String bpmOutgoingState) {
    this.bpmOutgoingState = bpmOutgoingState;
  }
  public String getAbortMsg() {
    return abortMsg;
  }
  public void setAbortMsg(String abortMsg) {
    this.abortMsg = abortMsg;
  }
  public SWorkOrder getWorkOrder() {
    return workOrder;
  }
  public void setWorkOrder(SWorkOrder workOrder) {
    this.workOrder = workOrder;
  }
  public SBusinessOrderType getType() {
    return type;
  }
  public void setType(SBusinessOrderType type) {
    this.type = type;
  }
  public String getHandler() {
    return handler;
  }
  public void setHandler(String handler) {
    this.handler = handler;
  }
  public String getRemark() {
    return remark;
  }
  public void setRemark(String remark) {
    this.remark = remark;
  }

  

}
